home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PRINTER / EPSON.ARJ / NU-EPSON.DOC < prev    next >
Text File  |  1989-07-19  |  19KB  |  426 lines

  1.  
  2.                                  NU-EPSON 2.3
  3.  
  4.                          The Pop-Up Printer Controller
  5.  
  6.                         Copyright (C) 1985 Charles Rich
  7.  
  8. NU-EPSON is a memory resident printer controller that pop's up for you any time
  9. you need to set your printer.  With NU-EPSON you can change your printer's style
  10. and format instantly.  You'll never need to exit to DOS to change your printer
  11. again.  You can stay inside your word processor, editor or whatever.
  12.  
  13. To load NU-EPSON, put your program disk in your default drive, type NU-EPSON and
  14. then press carriage return.  When the brief installation message comes up,
  15. NU-EPSON is loaded.  After that you can call NU-EPSON any time by pressing
  16. Alt-Caps Lock.  Just hold the Alt key down and press Caps Lock.
  17.  
  18. When summoned, NU-EPSON pop's up with a menu of printer styles and motion
  19. controls.  The styles are on the left side of the menu.  The motion controls are
  20. on the right.  The styles are Compressed, Double-strike, Emphasized, Italic,
  21. Tiny, and Wide.  The motion controls are: Form feed, Line feed, Quiet, and
  22. Uni-directional.  NU-EPSON also offers Hex Input mode and a Reset feature.  On a
  23. color monitor the styles are displayed in cyan, and the motion controls are
  24. white.  This is a visual reminder.
  25.  
  26. NU-EPSON is ready for your selections as soon as it comes up.  Just type the
  27. letters corresponding to the combination of features you want.  Press the
  28. backspace key to delete any entries.  Submit your selections when everything is
  29. just right, by pressing the carriage return.  NU-EPSON will disappear, sending
  30. your commands to the printer.
  31.  
  32. You can enter up to eight selections on the regular entry line.  Although you'll
  33. probably never need to send that many.  If you try to enter more than eight
  34. selections NU-EPSON will beep to alert you.  If you really want to send more
  35. than eight commands, just submit the first eight and call NU-EPSON a second time
  36. and submit the remaining commands.  You can repeat this as often as you need.
  37.  
  38. If you call NU-EPSON while your printer is turned off, or is off line, you will
  39. get a flashing "Printer" message.  Just turn your printer on, or put it back on
  40. line and NU-EPSON will continue.  Press the carriage return if you want to exit
  41. instead.
  42.  
  43. The next few pages cover all the features of NU-EPSON in detail.  If you have
  44. any questions or comments please let me know about them.  My address is at the
  45. end of this documentation.  If you'd like a reply, please enclose a
  46. self-addressed stamped envelope.
  47.  
  48.  
  49. NU-EPSON'S PRINT STYLES
  50.  
  51. The following is a detailed description of NU-EPSON's print styles.  The best
  52. way to get familiar with them is to experiment.  They can be combined almost any
  53. way you'd like, and many combina- tions are quite useful.
  54.  
  55. C  Compressed Mode
  56.  
  57. This is easily the most popular print width after the standard pica.  You get
  58. 132 characters per line with Compressed Mode instead of 80.  This is great for
  59. any reports and spreadsheets that need extra width yet must retain high
  60. legibility.  Your printer will print 17.16 characters per inch instead of the
  61. usual 10.
  62.  
  63. D  Double-Strike Mode
  64.  
  65. This print mode gives you darker type by filling in the vertical spaces between
  66. dots.  Your printer reprints each line after shifting the paper down 1/216".
  67.  
  68. E  Emphasized Mode
  69.  
  70. This mode reprints each line after shifting the print head slightly, filling in
  71. the horizontal space between dots.  This is darker than Double-Strike, and the
  72. two modes used together make a very dark, solid type style.  Note that the Epson
  73. printer won't print Emphasized and Compressed Modes together, it will ignore the
  74. Compressed Mode setting.
  75.  
  76. I  Italic Mode
  77.  
  78. Use Italic Mode when you want your printing to look a little fancier.  You can
  79. mix Italic Mode with any other mode such as Compressed, Wide, Tiny or any
  80. combination.
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.                                NU-EPSON  page 2
  89.  
  90. T  Tiny Type
  91.  
  92. This is a combination of Compressed and Superscript modes, with 1/12" line
  93. feeds.  This is the tiniest print you can get from the Epson, and it's still
  94. really legible.  This is great for long program listings, archiving or novelty
  95. effects.  You'll find other uses--it grows on you.
  96.  
  97. W  Wide or Expanded Mode
  98.  
  99. This doubles the width of your type.  When combined with Double Strike and
  100. Emphasized modes, this is the most atten- tion getting style.  This is a good
  101. combination when printing bulletin board notices and announcements.  You can
  102. also mix Wide Mode with any other mode for some interesting type styles.
  103.  
  104.  
  105.  
  106. NU-EPSON'S MOTION CONTROLS
  107.  
  108.  
  109. F  Form Feed
  110.  
  111. This is an instant action key for Nu-Epson.  Pressing "F" sends a form feed to
  112. your printer, advancing the paper to the top of the next page.  This lets you
  113. begin print jobs at the top of a fresh sheet of paper.  It spares you from
  114. reaching over, taking your printer off-line, pressing the form feed button and
  115. then putting it back on line.  This doesn't echo an "F" on the entry line, and
  116. you can issue it as many times as you like.  It won't fill the entry buffer.
  117.  
  118. L  Line Feed
  119.  
  120. This is another instant action key for Nu-Epson.  When you press "L", Nu-Epson
  121. sends a line feed to your printer, advancing the paper one line.  This lets you
  122. skip lines instantly.  This too, won't echo an "L" on the entry line, and you
  123. can issue it as many times as you like.  It won't fill the entry buffer.
  124.  
  125. Q  Quiet or Half-Speed Mode
  126.  
  127. This runs your Epson printer at half its normal speed for a slightly quieter
  128. print job.
  129.  
  130. U  Unidirectional Mode
  131.  
  132. This makes your Epson print in one direction only.  This is good for graphics
  133. output in non-standard print modes since it reduces misalignment from row to
  134. row.
  135.  
  136. H  Hex Input Mode
  137.  
  138. This gives you the "Hex:" prompt so you can send customized control strings with
  139. your menu choices.  When you're through with Hex Input, hit the carriage return
  140. to come back to the regular entry line.  You'll see an "H" in the command line
  141. as a reminder of your Hex string, if you entered one.  Your Hex string will then
  142. be sent along with your menu choices.  Hex Input is discussed more fully below.
  143.  
  144. R  Reset
  145.  
  146. This sends the "Master Reset" code to your Epson.  After that, your printer is
  147. in the same state as when it's first turned on.  This means that all the mode
  148. settings are cleared and the current line position is the new top of form.  When
  149. used with the line feed key, this is an easy way for setting the top of form.
  150. Just advance to where you want the new top of form to be and press Reset.
  151. NU-EPSON will chirp and flash "Reset" to alert you, when pressed.  Reset also
  152. clears the command entry line.
  153.  
  154.  
  155. NU-EPSON'S HEX INPUT MODE
  156.  
  157. In the back of your Epson User's Manual you'll find a complete set of control
  158. codes for your printer.  There are commands for setting your printer's margins,
  159. underlining, changing character sets, defining form lengths, line feeds and so
  160. on.  These are all the possible ways you can set your printer.  With Hex Input
  161. Mode, NU-EPSON lets you send all of these, easily.
  162.  
  163. Press "H" to invoke the Hex Input Mode.  The "Hex:" prompt will appear and you
  164. can create your hex string by simply typing it from the keyboard.
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.                                NU-EPSON  page 3
  177.  
  178.  
  179. As an example, let's turn on underlining.  You can make your printer print
  180. underlines by sending it this sequence: <ESC>"-1".  So, in Hex Input mode press
  181. the escape key, then the negative sign, then the number 1.  NU-EPSON will
  182. convert them to hex for you.  You'll see these hex values echoed on the Hex
  183. Input line as: 1B 2D 31.  Press the carriage return and you'll go back to the
  184. usual input line.  The "H" in the entry line reminds you that you have defined a
  185. hex string at that point.  Press the carriage return again and NU-EPSON will
  186. disappear, submitting your commands to the printer.  That's all there is to it.
  187. No more fooling around with hex conversion tables and firing up the BASIC inter-
  188. preter every time you want to change your printer.
  189.  
  190. The Hex Input Mode will let you send up to nine hex characters to your printer.
  191. If you try to send more than nine characters, NU-EPSON will beep to alert you.
  192. Since most control codes are about three characters long this lets you send two
  193. or three configurations at once.
  194.  
  195. For example, you could set the left and right margins, and redefine the number
  196. of lines in a page with just one hex input string.  We'll do this later.  If you
  197. need to send a longer sequence simply call NU-EPSON again and submit the rest of
  198. the sequence.  You can repeat this as many times as you need to.
  199.  
  200. If you make mistakes in your hex entry, press the backspace key to correct them.
  201. This will step the cursor backwards, clearing entries one by one.
  202.  
  203. Press the carriage return when you're happy with your hex input string.  This
  204. returns you to the regular entry line where you can continue setting your
  205. printer from the menu if you want.  If you created a hex string in Hex Input
  206. mode you'll see an "H" on the regular entry line where you called Hex Input.
  207. This is to remind you of your Hex input string.  If you didn't enter anything in
  208. Hex Input mode, there won't be an "H" in the regular command line.  Since
  209. NU-EPSON holds only one line of hex input, you can only create one hex string at
  210. a time.  This means you can only have one "H" on your command entry line.
  211.  
  212. If you try to get into Hex Input Mode twice from the regular command line
  213. NU-EPSON will beep, alerting you that you have already created a hex input line.
  214.  
  215. If you want to get into Hex Input Mode anyway, just delete the "H" from the
  216. previous hex input.  NU-EPSON will then let you enter hex commands again.
  217.  
  218. If you need to submit a hex string that's too long for one entry line, simply
  219. send it piece by piece.  Enter the first nine hex characters and send them.
  220. Then call NU-EPSON again and send another nine characters.  You can repeat this
  221. as many times as you like.
  222.  
  223.  
  224. USING THE ALT-KEYPAD
  225.  
  226. Some of the Epson printer commands need you to give a number for a parameter.
  227. For instance, you need to give a number when setting margins, or the number of
  228. lines to print per page, or for the number of line feeds per form, and for
  229. character spacings, etc.  The control codes in the back of the User's Manual ask
  230. for these numbers like this: CHR$(n), with "n" being the number you want.  The
  231. Alt-Keypad lets you send these numbers to NU-EPSON.  Whenever a control code
  232. says CHR$(n), you'll use the Alt-Keypad to send that number.
  233.  
  234. The Alt-Keypad is a normal feature of the IBM PC's keyboard.  If you hold the
  235. Alt key down and then enter a number using only the numeric keypad on the right
  236. hand side of the keyboard, the keyboard will send the ASCII character
  237. corresponding to that number.  In Hex Input mode, NU-EPSON converts all your
  238. keystrokes into the hexadecimal value for the character you pressed, including
  239. characters entered from the Alt-Keypad.
  240.  
  241. So, to put the number 50 in NU-EPSON's Hex Input line, hold the Alt key down and
  242. press the 5 and 0 on the numeric keypad. when you release the Alt key you'll see
  243. a 32 in the hex string.  That is the number 50 in hexadecimal.  As another
  244. example, to put the number 127 into a hex input command, hold the Alt key down
  245. and type 127 on the numeric keypad, release the Alt key.  This generates a 7F in
  246. the entry line. 7F is 127 in hexadecimal numbers.
  247.  
  248. Note that when the Caps Lock key is turned on, your computer will invert the
  249. case of the letters of the alphabet, changing "A"'s to "a"'s and vice versa.
  250. This means then, that if Caps Lock is set and you enter the number 100 from the
  251. Alt-Keypad, which corres- ponds to the letter "d", with Caps Lock on, your
  252. computer will intervene and convert that lowercase "d" to a capital "D".  Now,
  253. the "D" character is ASCII character number 68, not 100 as you intended.  Since
  254. NU-EPSON converts keboard input into hexadecimal, you'll get the hex number 44
  255. instead of hex 64.  The upshot of all this is that if you start getting numbers
  256. that aren't right, check the Caps Lock key.
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.                                NU-EPSON  page 4
  265.  
  266.  
  267. The numbers from 65 to 90 correspond to uppercase letters.  They should all
  268. start with 4's or 5's in hexadecimal.
  269.  
  270. The numbers from 97 to 122 correspond to lowercase letters.  They should all
  271. start with 6's or 7's in hexadecimal.
  272.  
  273. Note that if you forget to hold the Alt key down when you type on the keypad it
  274. will generate 00's.  This is useful for when you need to send a CHR$(0).  Also,
  275. ProKey users should remember that ProKey wants you to press Shift-Alt while
  276. using the numeric keypad, otherwise you'll only get 00's, too.
  277.  
  278.  
  279. AN EXAMPLE OF HEX INPUT
  280.  
  281. Hex Input Mode is a very simple way to send your custom codes.  You'll get the
  282. hang of it quickly. for practice, try sending "Hi there" to your printer by just
  283. using the Hex Input Mode.  Call up the Hex Input Mode and type "Hi there" right
  284. from the keyboard.  You should see: 48 69 20 74 68 65 72 65.  Those are the
  285. hexadecimal values for those letters.  Before sending it do one more thing.
  286. Enter the number 10 from the Alt-Keypad.  Hold the Alt key down and press 1 and
  287. 0.  This generates a 0A, the line feed character.  We need the line feed to
  288. flush the printer buffer and print our message right away.  Your Hex Input Line
  289. should look like this now: 48 69 20 74 68 65 72 65 0A.
  290.  
  291. Now, let's submit it.  Press the carriage return and get back to the regular
  292. entry line.  Then press carriage return again to exit NU-EPSON and submit the
  293. hex string.  Your printer will print "Hi there".  Sending hex command strings to
  294. your printer is the very same thing.  But instead of being sequences of
  295. characters that spell something meaningful to you, they say something meaningful
  296. to your printer.
  297.  
  298.  
  299. AN EXAMPLE USING MANY FEATURES
  300.  
  301. When you use Tiny Type to print programs source code, or long lists, you'll find
  302. that margins of 26 and 106, with skip over perforation set for 12 lines make
  303. nicely formatted listings.  You can set it as follows.
  304.  
  305. Start by re-establishing the top of form three lines down from the perforation,
  306. about 1/2-inch down.  Simply tap "L" three times, until the paper is positioned
  307. correctly, then press "R" to send a Master Reset to the printer.  That is now
  308. the new top of form.  You'll see why we did this when we set our skip over
  309. perforation "clear zone," below.
  310.  
  311. Next, press "T" to invoke Tiny Type.
  312.  
  313. Press "H" for Hex Input Mode.  In Hex Input Mode press Escape, l (lower case
  314. "L"), and use the Alt-Keypad to send the hexadecimal number for 26.  This will
  315. set the left margin at 26 spaces.
  316.  
  317. Next press Escape, Q (capital "Q"), and use the Alt-Keypad to send 106.  This
  318. establishes the left margin at 106 spaces.
  319.  
  320. Finally, press Escape, N (capital "N"), and use the Alt-Keypad to send the
  321. Number 12.  This sets the skip over perforation zone to twelve lines.  We want
  322. to reserve 1/2-inch above and below the perforations.  One-half inch is equal to
  323. six tiny lines, since we're setting the printer to Tiny Type.  That's why we set
  324. the top of form 1/2-inch below the perforation.  Now, subsequent perforations
  325. will fall right in the middle of our 12 line perforation zone, giving us
  326. 1/2-inch top and bottom margins.
  327.  
  328. Your Hex Input entry line should say: 1B 6C 1A 1B 51 6A 1B 4E 0C.
  329.  
  330. Press carriage return and you'll come back to the regular entry line.  It should
  331. look like this: "TH".  "T" for Tiny Type, and "H" for your Hex Input string.
  332. Press the carriage return to send your new configuration to the printer, and
  333. that's it.  That's all there is to it.  In practice it's very simple.
  334.  
  335. Now print a listing from your word processor, or from DOS. It will be centered
  336. in the pages with a half inch margin at the top and bottom of each page.
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.                                NU-EPSON  page 5
  353.  
  354.  
  355. SOME USEFUL COMMAND STRINGS
  356.  
  357. These are some of the control codes you'll probably use the most:
  358.  
  359.           Set Elite Mode On
  360.           <Esc>M    That's Escape, then uppercase "M".
  361.  
  362.           Set Elite Mode Off
  363.           <Esc>P    That's Escape, then uppercase "P".
  364.  
  365.           Set left margin at #
  366.           <Esc>l#   That's Escape, then lower case "l", then
  367.                     use the Alt-Keypad to enter the number for
  368.                     your left margin.
  369.  
  370.           Set right margin at #
  371.           <Esc>Q#   Press Escape, then capital "Q", then the
  372.                     number for your right margins.
  373.  
  374.           Skip over perforation, variable
  375.           <Esc>N#   Press Escape, then capital "N", then the
  376.                     number of lines for your "perforation zone".
  377.  
  378.           Set the form length in lines
  379.           <Esc>C#   Press Escape, then capital "C", then use the
  380.                     Alt-Keypad to enter the number of lines for
  381.                     your new page definition.
  382.  
  383.           Set the form length in inches
  384.           <Esc>C(00)#   Press Escape, capital "C", hex 00 (get
  385.                     this by pressing any of the numeric keypad
  386.                     keys without pressing the Alt key), then use
  387.                     the Alt-Keypad and send the length of your new
  388.                     page in inches.
  389.  
  390.           Turn underline on
  391.           <Esc>-1   Press Escape, the minus sign, then press the
  392.                     number 1.  Use the numbers at the top of the
  393.                     keyboard for this.
  394.  
  395.           Turn underline off
  396.           <Esc>-0   Press Escape, then minus sign, then type the
  397.                     number 0.  Again, use the numbers at the top
  398.                     of the keyboard for this.
  399.  
  400.           Sound the printer bell
  401.           7         Use the Alt-Keypad and press 7.  The printer
  402.                     bell will ring once.
  403.  
  404.                                 --------------
  405.  
  406.                             A Word About ShareWare
  407.  
  408.  
  409. Shareware is based on the concept that good software shouldn't cost an arm and a
  410. leg.  Share Ware gives you a chance to use your software before paying for it.
  411. Also, you are actually encouraged to copy ShareWare programs and share them with
  412. your friends.  Once you know you like a program, then send a check or money
  413. order for the price of the utility.  Prices are usually very modest.
  414.  
  415.  
  416. NU-EPSON is a ShareWare program.  Please make as many copies as you like and
  417. share it with others.  I only ask that you don't alter NU-EPSON or this
  418. documentation, and that you include this documentation when passing it around.
  419. You can support ShareWare development, and share back by sending your $25.00
  420. donation to:
  421.  
  422.                       Charles Rich
  423.                       P.O. Box 95650
  424.                       Seattle, WA  98145-2650
  425.  
  426.                     Thanks! and enjoy NU-EPSON